/*
 * @Description: 请描述此文件
 * @Author: LDM
 * @Date: 2021-09-11 11:40:59
 * @LastEditors: LDM
 * @LastEditTime: 2021-09-17 16:17:43
 */
import type { App } from 'vue'

import { createPinia } from 'pinia'
export * from './modules/app'
export * from './modules/permission'
export * from './modules/setting'
export * from './modules/user'

const pinia = createPinia()
export function setupPinia(app: App<Element>) {
  app.use(pinia)
}
export { pinia }
